1bashThis demonstrates the use of the $$ variable to retrieve the process ID (PID) of the current shell.$$bash internalbash special variablesprocess ID ($$)
2bashThis demonstrates the use of the $_ special variable in Bash to access and reuse the last argument from the previous command.$_bash internalbash special variables$_